package cn.slipi.admin.constants.permission;

/**
 * @author lee
 */
public class PermissionConstants {

    public static final String INTERFACE_ADD = "interface/add";
    public static final String INTERFACE_PUBLISH = "interface/publish";
    public static final String INTERFACE_GRANT_INFO = "interface/grant/info";
    public static final String INTERFACE_PUBLISH_BATCH = "interface/publish/batch";
    public static final String INTERFACE_UPDATE = "interface/update";
    public static final String INTERFACE_LIST = "interface/list";
    public static final String INTERFACE_GRANT_LIST = "interface/grant/list";
    public static final String INTERFACE_NO_GRANT_LIST = "interface/no/grant/list";
    public static final String INTERFACE_DETAIL = "interface/detail";

    public static final String CONSUMER_ADD = "consumer/add";
    public static final String CONSUMER_GRANT = "consumer/grant";
    public static final String CONSUMER_UN_GRANT = "consumer/un/grant";
    public static final String CONSUMER_GRANT_PUBLISH = "consumer/publish";
    public static final String CONSUMER_UPDATE = "consumer/update";
    public static final String CONSUMER_GRANT_DOC = "consumer/grant/doc";
    public static final String CONSUMER_LIST = "consumer/list";
    public static final String CONSUMER_DROP_LIST = "consumer/drop/list";
    public static final String CONSUMER_DETAIL = "consumer/detail";

    public static final String PRODUCER_ADD = "producer/add";
    public static final String PRODUCER_UPDATE = "producer/update";
    public static final String PRODUCER_LIST = "producer/list";
    public static final String PRODUCER_DROP_LIST = "producer/drop/list";
    public static final String PRODUCER_DETAIL = "producer/detail";

    public static final String ADMIN_GET_DETAIL = "admin/detail";
    public static final String ADMIN_INIT_PASSWORD = "admin/init_pass";
    public static final String ADMIN_GET_LIST = "admin/list";
    public static final String ADMIN_CHANGE_PASSWORD = "admin/c/password";
    public static final String ADMIN_ADD = "admin/add";
    public static final String ADMIN_UPDATE = "admin/update";
    public static final String ADMIN_LOG_GET_LIST = "admin/log/list";

    public static final String MENU_GET_MENU_LIST_TREE = "menu/list/tree";
    public static final String MENU_GET_MENU_FOR_AUTH = "menu/list/auth";
    public static final String MENU_GET_MENU_LIST = "menu/list";
    public static final String MENU_GET_TOP_MENU_LIST = "menu/list/top";
    public static final String MENU_ADD_MENU = "menu/add";
    public static final String MENU_UPDATE_MENU = "menu/update";
    public static final String MENU_DELETE_MENU = "menu/delete";

    public static final String PERMISSION_GET_PERMISSION_LIST_FOR_AUTH = "permission/list/auth";
    public static final String PERMISSION_GET_PERMISSION_MODULE_LIST = "permission/pm/list";
    public static final String PERMISSION_GET_PERMISSION_MODULE_DROP_LIST = "permission/pm/drop_list";
    public static final String PERMISSION_ADD_MODULE = "permission/pm/add";
    public static final String PERMISSION_UPDATE_MODULE = "permission/pm/update";
    public static final String PERMISSION_DELETE_MODULE = "permission/pm/delete";
    public static final String PERMISSION_GET_PERMISSION_LIST = "permission/p/list";
    public static final String PERMISSION_GET_PERMISSION_LIST_BY_USER_ID = "permission/p/u/list";
    public static final String PERMISSION_GET_ROLE_LIST = "permission/r/list";
    public static final String PERMISSION_ADD_PERMISSION = "permission/p/add";
    public static final String PERMISSION_UPDATE_PERMISSION = "permission/p/update";
    public static final String PERMISSION_UPDATE_PERMISSION_MODULE = "permission/p/update";
    public static final String PERMISSION_ADD_ROLE = "permission/r/add";
    public static final String PERMISSION_UPDATE_ROLE = "permission/r/update";
    public static final String PERMISSION_CHANGE_ROLE_AUTH = "permission/r/auth";

}
